                        <form action="<?php echo base_url()?>login/changePassword" name="formChangePassWord" method="POST" onsubmit="return checkPassword();">                  

                            <table class="tablebg" cellspacing="1" align="right" width="900px" border="0">
                                            <tr>
                                                <td colspan="2" class="bar">Change Password</td>
                                            </tr>                                    
                                            <tr> 
                                                <td class="row10" >Old Password</td>
                                                <td class="row12" ><input type="password" name="txtOldPass" class="form"  value="<?php if(isset($oldpass)) echo $oldpass;?>"/></td>
                                            </tr>
                                            
                                            <tr> 
                                                <td class="row10">New Password</td>
                                                <td class="row12"><input type="password" name="txtNewPass" class="form"   value="<?php if(isset($newpass)) echo $newpass;?>"/></td> 
                                            </tr>
                                            <tr> 
                                                <td class="row10" >Confirm New Password</td>
                                                <td class="row12"><input type="password" name="txtReNewPass" class="form"   value="<?php if(isset($renewpass)) echo $renewpass;?>"/></td> 
                                            </tr>
                                            <tr> 
                                                <td class="row10" align="center"><input type="submit" name="Submit" id="submit" value="Change"/></td>
                                                <td class="row12" align="left"><input type="reset" name="Reset" id="submit" value="Reset"/></td>
                                            </tr>
                                            <tr>
                                            </tr>
                                            <tr> 
                                                
                                                <td class="row2" colspan="2" align="center"><strong><?php if(isset($error_oldpass)) echo $error_oldpass?></strong></td> 
                                            </tr>
                                    </td>
                                </tr>
                            </table>
                        </form>